DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(Byte[],Boolean) Method

The byte array to write dataset to

If TRUE, a blank 128 byte header, DICM marker, and meta-header are written at the start of the file, and an appropriate transfer syntax is used, as below.

If FALSE, the file is written in the unofficial, but common format, with no header, and using the little-endian implicit VR transfer syntax.




In This Topic
    Write(Byte[],Boolean) Method
    In This Topic
    Writes dataset to a byte array
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByRef Array() As Byte, _
       ByVal isPart10 As Boolean _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Array() As Byte
    Dim isPart10 As Boolean
     
    instance.Write(Array, isPart10)
    public void Write( 
       out byte[] Array,
       bool isPart10
    )
    public:
    void Write( 
       [Out] array<byte>^ Array,
       bool isPart10
    ) 

    Parameters

    Array

    The byte array to write dataset to

    isPart10

    If TRUE, a blank 128 byte header, DICM marker, and meta-header are written at the start of the file, and an appropriate transfer syntax is used, as below.

    If FALSE, the file is written in the unofficial, but common format, with no header, and using the little-endian implicit VR transfer syntax.

    Remarks

    Data may subsequently be read by the Read methods or by other DICOM software.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also